package top.huxy.qqbot.acks;

import top.huxy.qqbot.message.Message;

import java.util.HashMap;
import java.util.List;

/**
 * @author HuXY
 */
public class GroupReply extends Ack {
    public GroupReply(long groupId, List<Message> reply) {
        super("replyGroup", createData(groupId, reply));
    }

    private static HashMap<String, Object> createData(long groupId, List<Message> reply) {
        HashMap<String, Object> result = new HashMap<>(3);
        result.put("grp", groupId);
        result.put("reply", reply);
        return result;
    }
}
